package ${package.Service};

import com.github.pagehelper.PageInfo;
import ${package.Entity}.${entity};
import ${superServiceClassPackage};

import java.util.List;

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {

   /**
    * 查询列表
    * @param entity ${entity}
    * @return List
    */
   List<${entity}> list(${entity} entity);

    /**
     * 查询分页
     * @param entity ${entity}
     * @param pageNum 页码
     * @param pageSize 页大小
     * @return PageInfo
     */
   PageInfo pg(${entity} entity, int pageNum, int pageSize);
}

